package designPattern.struction.adapterpattern.objadapter;

import designPattern.struction.adapterpattern.Adaptee;
import designPattern.struction.adapterpattern.Target;

/**
 * @author 张琪
 * @date 2023/1/30 18:25
 */
class Adapter implements Target {
    private Adaptee adaptee;

    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void request() {
        this.adaptee.specificRequest();
    }
}
